﻿@model IEnumerable<HRWEB.TTitle>
@using HRWEB.HtmlHelpers
<script type="text/javascript">
    $(document).ready(function () { $("[name='titlefile']").fileupload({ dataType: 'jason' }); });
</script>
<table class="detail-table">
<thead>
<tr><th colspan="4">职称信息</th></tr></thead>
<tr><td>职称名称</td><td>取得时间</td><td>下载</td><td>上传</td></tr>
@foreach (var ti in Model)
{
    <tr><td>@Html.FormatTDict(ti.TDictTitle)</td><td>@Html.FormatDateShort(ti.FValidDate)</td><td>@if (ti.Filename != null)
                                                                                                                                                                                                                                                                     {<a href="@Url.Content("~/CertFiles/Title/"+@ti.Filename)">下载</a>}
                                                                                                                                                                                                                                                                     else {<font>无</font>}</td><td><input type="file" name="titlefile" id="file @ti.FSerialNo" style="width:70px" data-url="@Url.Action("UploadTitle", new { serial = @ti.FSerialNo })" /></td></tr>
}
</table>